﻿using System;
using System.IO;

namespace SanlieHash.BlockCipher
{
    public interface ICrypto : IDisposable
    {
        /// <summary>
        /// 加密一个数据块
        /// </summary>
        byte[] Encrypt(byte[] byteInput);
        /// <summary>
        /// 解密一个数据块
        /// </summary>
        byte[] Decrypt(byte[] byteInput);
    }
}
